package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.UserDailySendgiftRecord;
import com.jbp.utils.PageUtils;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 每日送礼统计(UserDailySendgiftRecord)表服务接口
 * @author cc
 * @since 2021-07-22 11:59:17
 */
public interface UserDailySendgiftRecordService extends IService<UserDailySendgiftRecord> {
    PageUtils queryPage(Map<String, Object> params);

    void updateSendGiftRecord(Integer fromUserId, Integer toUserId, Integer coin, Integer roomId, String type);

    BigDecimal getAllSend(int userId);
}